@color-status-1:#FD5E5E;
@color-status-2:#FFB32D;
@color-status-3:#47CFAD;
@color-status-4:#4CA4FE;
@color-status-5:#7067E2;
@color-status-6:#4FBFE9;
@color-status-7:#FA6C4D;
@color-status-8:#8890AB;
@color-status-9:#2691FF;
.sw-header{
  background: #F9F9F9;
  &__tab{
    position: relative;
    margin-top: 12px;
    padding: 0 50px 0 5px;
  }
  &__sort{
    position: absolute;
    right: 15px;
    top: 5px;
    width: 30px;
    height: 30px;
    background: url(../img/siwei/icon-list.png) center no-repeat;
    background-size: 14px 14px;
  }
  &__lefthhold{
    position: absolute;
    left: 0;
    top: 0;
    height: 40px;
    width: 20px;
    background: #F9F9F9;
    z-index: 1;
  }
}
.sw-tabs{
  overflow-x:auto;
  &__wrap{
    width:1000px;
  }
  &__item{
    display: inline-block;
    padding: 10px 15px;
    font-size: 14px;
    color:#999;
    &.is-active{
      position: relative;
      color:#000;
      font-weight: bold;
      &::before{
        position: absolute;
        bottom: 4px;
        left: 50%;
        margin-left: -10px;
        width: 20px;
        height: 2px;
        background: #F8B80E;
        border-radius: 1px;
        content: '';
      }
    }
    &.hide-before{
      &::before{
        height:0;
      }
    }
  }
  &.is-black{
    .sw-tabs__item{
      font-size: 16px;
      &.is-active{
        &::before{
          left:15px;
          right: 15px;
          margin-left: 0;
          width: auto;
          background-color: #000;
        }
      }
    }
  }
  &__indicator{
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 20px;
    height: 2px;
    background: #F8B80E;
    border-radius: 1px;
    transition:transform .2s;
  }
}
.sw-card{
  margin: 12px 20px;
  &__head{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  &__title{
    font-size: 15px;
    color:#333333;
    font-weight: bold;
  }
  &__desc{
    font-size: 12px;
    color:#999;
    white-space: pre;
  }
  &__body{
    padding: 10px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 0px 15px 0px rgba(205, 205, 205, 0.2) ;
    &.is-task{
      display: block;
      padding: 17px 10px 13px 17px;
    }
    &.is-sidepadding0{
      padding:0;
      .swiper-container{
        padding:0;
      }
    }
    .maintaince-card-img{
      padding:0;
      margin:0;
    }
  }
  .swiper-pagination-bullet-active{
    background: #333;
  }
  .task-title{
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #999;
    .task-icon{
      margin-right: 6px;
      width: 20px;
      height: 20px;
      background-repeat: no-repeat;
      background-position: center center;
      background-size: 14px 14px;
      &--xuncha{
        background-image: url(../img/siwei/icon-xuncha.png);
      }
      &--baoyang{
        background-image: url(../img/siwei/icon-baoyang.png);
      }
      &--dandian{
        background-image: url(../img/siwei/icon-dandian.png);
      }
      &--liandong{
        background-image: url(../img/siwei/icon-liandong.png);
      }
    }
  }
  .task-count{
    margin-top: 4px;
    padding-left: 26px;
    display: flex;
    align-items: center;
    &>div{
      flex:1;
      text-align: left;
    }
    &__num{
      margin-right: 6px;
      color: #F8B80E;
      font-size: 24px;
    }
  }
  .hidden-trouble{
    display: flex;
    align-items: center;
    padding: 10px;
    &__status{
      margin-right: 5px;
      width: 44px;
      height: 22px;
      line-height: 22px;
      text-align: center;
      background: #F8B80E;
      border-radius: 4px;
      font-size: 12px;
      color: #101010;
    }
    &__desc{
      flex: 1;
      font-size: 12px;
      color: #999;
    }
  }
  .sign-list{
    &__item{
      display: inline-block;
      padding: 15px 10px 12px;
      text-align: center;
      width: auto!important;
    }
    img{
      width: 44px;
      height: 44px;
      border-radius: 22px;
    }
    &__name{
      font-size: 14px;
      color: #666;
    }
    &__clock{
      margin-top: 4px;
      font-size: 12px;
    }
  }
}
// 接处警
.sw-cell{
  display: flex;
  padding: 5px 5px 2px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  &__icon{
    width: 40px;
    height: 40px;
    border-radius: 20px;
    
  }
  &__desc{
    margin-top: 6px;
  }
  &__text{
    color: #515151;
    font-size:14px;
  }
  &__text1{
    color: #8890AB;
    font-size:14px;
  }
  .icon-status{
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 20px 20px;
    &--alarm{
      background-image:  url(../img/siwei/icon-alarm.png);
      background-color: #FD5E5E;
    }
    &--fault{
      background-image:  url(../img/siwei/icon-fault.png);
      background-color: #F8B80E;
    }
    &--reject{
      background-image:  url(../img/siwei/icon-reject.png);
      background-color: #A8A8A8;
    }
    &--link{
      background-image:  url(../img/siwei/icon-link.png);
      background-color: #4CA4FE;
    }
  }
}
// 水管网压力
.sw-chart{
  display: flex;
  justify-content: space-between;
  align-items: center;
  &__wrap{
    margin-left: 10px;
    width:120px;
    height: 120px;
    &.is-wb-progress{
      width:72px;
      height: 72px;
    }
  }
  &__desc{
    flex:1;
    text-align: center;
    &.is-right{
      margin-left: 10px;
      display: flex;
      justify-content: center;
      .sw-chart__desc-wrap{
        text-align:left;
      }
    }
  }
  &__value{
    color: #8890AB;
    span{
      font-size: 36px;
      line-height: 36px;
      &.color-1{
        color: @color-status-1;
      }
      &.color-2{
        color: @color-status-2;
      }
      &.color-3{
        color: @color-status-3;
      }
      &.color-4{
        color: @color-status-4;
      }
      &.color-5{
        color: @color-status-5;
      }
      &.color-6{
        color: @color-status-6;
      }
      &.color-7{
        color: @color-status-7;
      }
      &.color-8{
        color: @color-status-8;
      }
      &.color-9{
        color: @color-status-9;
      }
    }
  }
  &__name{
    margin-top: 20px;
    font-size: 14px;
  }
  &__title{
    color: #000;
  }
  &__count{
    margin-top: 13px;
    color: #999999;
    white-space: pre;
    font-size: 12px;
  }
}
.list-button{
  &--normal{
    font-size: 14px!important;
    &.is-active{
      color: #F8B80E!important;
    }
  }
}
.sw-select{
  position: relative;
  padding: 0 25px 0 10px;
  height: 24px;
  line-height: 24px;
  border-radius: 12px;
  color: #999;
  background: #fff;
  .sw-select-arrow{
    position: absolute;
    right: 10px;
    top: 6px;
    width: 12px;
    height: 12px;
    background: url(../img/siwei/arrow-down.png) center no-repeat;
    background-size: 12px 12px;
    transition:transform .2s;
  }
  &.is-open{
    .sw-select-arrow{
      transform: rotate(180deg);
    }
  }
}

.actions-modal{
  .actions-button-text{
    font-size: 14px;
  }
  &--radius{
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    .actions-button{
      &::before{
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: #E1E1E1;
        height: 1px;
        transform: scaleY(0.5);
      }
      &:last-child{
        &::before{
          display: none;
        }
      }
    }
  }
}

.notice-bar{
  position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    height: 40px;
    padding: 0 20px;
    color: #ed6a0c;
    font-size: 14px;
    line-height: 24px;
    background-color: #fffbe8;
    &__text{
      position: relative;
      display: -webkit-box;
      display: -webkit-flex;
      display: flex;
      -webkit-box-flex: 1;
      -webkit-flex: 1;
      flex: 1;
      -webkit-box-align: center;
      -webkit-align-items: center;
      align-items: center;
      height: 100%;
      overflow: hidden;
    }
    &__icon{
      text-align: right;
      font-size: 16px;
    }
}
.page-message{
  .notice-bar{
    display: none;
    margin-top: 66px;
  }
  .link-page-search{
    margin-top: 70px;
  }
  &.show-msgSetNotice{
    .notice-bar{
      display: flex;
    }
    .link-page-search{
      margin-top: 20px;
    }
  }
}